package com.wxw.springcloud.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author wxw
 * @data 2021/1/18 19 :48
 * @description
 */
@RestController
public class HelloController {

   @GetMapping("/hello")
    public String hello(){
         //业务逻辑，，，
        return "hello spring cloud 2222222";

    }
    @GetMapping("/hystrix")
    public String Hystrix(){
        //业务逻辑，，，
        return "Hystrix2";
    }
}
